home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / admin / secure / Tor - Privoxy - Vidalia.exe / Privoxy / templates / cgi-error-disabled < prev    next >
Text File  |  2006-11-04  |  4KB  |  149 lines

  1. ##########################################################
  2. #
  3. # No-Such-Domain Error Output template for Privoxy.
  4. #
  5. #
  6. # USING HTML TEMPLATES:
  7. # ---------------------
  8. #
  9. # Template files are written win plain HTML, with a few
  10. # additions:
  11. # - Lines that start with a '#' character like this one
  12. #   are ignored
  13. #
  14. # - Each item in the below list of exported symbols will
  15. #   be replaced by dynamically generated text, if they
  16. #   are enclosed in '@'-characters. E.g. The string @version@
  17. #   will be replaced by the version number of Privoxy.
  18. #
  19. # - One special application of this is to make whole blocks
  20. #   of the HTML template disappear if the condition <name>
  21. #   is not given. Simply enclose the block between the two
  22. #   strings @if-<name>start and if-<name>-end@. The strings
  23. #   should be placed in HTML comments (<!-- -->), so the
  24. #   html structure won't be messed when the magic happens.
  25. #   
  26. # USABLE SYMBOLS IN THIS TEMPLATE:
  27. # --------------------------------
  28. #
  29. #  my-ip-addr:
  30. #    The IP-address that the client used to reach this proxy
  31. #  my-hostname:
  32. #    The hostname associated with my-ip-addr
  33. #  admin-address:
  34. #    The email address of the pxoxy's administrator, as configured
  35. #    in the config file
  36. #  default-cgi:
  37. #    The URL for the "main menu" builtin CGI of this proxy
  38. #  menu:
  39. #    List of <li> elements linking to the other available CGIs
  40. #  version:
  41. #    The version number of the proxy software
  42. #  code-status:
  43. #    The development status of the proxy software: "alpha", "beta",
  44. #    or "stable".
  45. #  homepage:
  46. #    The URL of the SourceForge ijbswa project, who maintains this
  47. #    software.
  48. #
  49. # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
  50. # ------------------------------------------------------------------
  51. #
  52. #  unstable:
  53. #    this is an alpha or beta release of the proxy software
  54. #  have-adminaddr-info:
  55. #    An e-mail address for the local Privoxy adminstrator has
  56. #    been specified and is available through the "admin-address"
  57. #    symbol
  58. #  have-proxy-info:
  59. #    A URL for online documentation about this proxy has been
  60. #    specified and is available through the "proxy-info-url"
  61. #    symbol
  62. #  have-help-info:
  63. #    If either have-proxy-info is true or have-adminaddr-info is
  64. #    true, have-help-info is true.  Used to conditionally include
  65. #    a grey box for any and all help info.
  66. #
  67. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  68. <html>
  69.  
  70. <head>
  71.   <title>Configuration Page Disabled</title>
  72.   <meta http-equiv="Content-Style-Type" content="text/css">
  73.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  74.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  75.   <meta name="robots" content="noindex,nofollow">
  76.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  77. </head>
  78.  
  79. <body>
  80.  
  81.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  82.     <tr>
  83.       <td class="title">
  84.  
  85. #include mod-title
  86.  
  87.       </td>
  88.     </tr>
  89.  
  90. <!-- @if-unstable-start -->
  91. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  92.     <tr>
  93.       <td class="warning">
  94.  
  95. #include mod-unstable-warning
  96.  
  97.       </td>
  98.     </tr>
  99. <!-- if-unstable-end@ -->
  100.  
  101.     <tr>
  102.       <td class="warning">
  103.         <h2>Privoxy Configuration access denied</h2>
  104.           <p>The feature you are trying to access has either been disabled
  105.              by the Privoxy administrator, or you came here by following an
  106.              unsafe external link.</p>
  107.  
  108.           <p>All enabled features are accessible from the
  109.              <a href="@default-cgi@">main menu</a>.</p>
  110.       </td>
  111.     </tr>
  112.  
  113.     <tr>
  114.       <td class="box">
  115.         <h2>More Privoxy:</h2>
  116.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  117.       </td>
  118.     </tr>
  119.  
  120.     <tr>
  121.       <td class="info">
  122.  
  123. #include mod-support-and-service
  124.  
  125.       </td>
  126.     </tr>
  127.  
  128. <!-- @if-have-help-info-start -->
  129.     <tr>
  130.       <td class="info">
  131.  
  132. #include mod-local-help
  133.  
  134.       </td>
  135.     </tr>
  136. <!-- if-have-help-info-end@ -->
  137.     
  138.     <tr>
  139.       <td>
  140.         <p class="small">Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></p>
  141.       </td>
  142.     </tr>
  143.  
  144.   </table>
  145.  
  146. </body>
  147. </html>
  148.